<?php
class EventmediaModel extends Orm_Base{
    public $table = 'event_media';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'event_type' => array('type' => "tinyint(2)",'comment' => '事件类型'),
        'audio' => array('type' => "varchar(200)",'comment' => '音频地址'),
        'video' => array('type' => "varchar(200)",'comment' => '视频地址'),
        'audio_title' => array('type' => "varchar(200)",'comment' => '音频标题'),
        'video_title' => array('type' => "varchar(200)",'comment' => '视频标题'),
        'remarks' => array('type' => "varchar(200)",'comment' => '备注'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
        'status' => array('type' => "tinyint(1)",'comment' => ''),
    );
    public $pk = 'id';
}
?>
